package com.sj.purchase.modules.cost.views.stock;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

/**
 * Created by 宋开宗 on 2017/7/27 0027.
 */
public class AdjustOrderVo {
	@Excel(name = "订单号", width = 20)
	private String orderNo;
	@Excel(name = "商品编号")
	private String goodsNo;
	@Excel(name = "商品名称", width = 20)
	private String goodsName;
	@Excel(name = "sku")
	private String skuNo;
	@Excel(name = "sku名", width = 20)
	private String skuName;
	@Excel(name = "数量")
	private int num;
	@Excel(name = "创建人")
	private String user;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
	@Excel(name = "日期", width = 20)
	private Date date;

	public AdjustOrderVo(String orderNo, String goodsNo,
						 String goodsName, String skuNo,
						 String skuName, int num,
						 String user, Date date) {
		this.orderNo = orderNo;
		this.goodsNo = goodsNo;
		this.goodsName = goodsName;
		this.skuNo = skuNo;
		this.skuName = skuName;
		this.num = num;
		this.user = user;
		this.date = date;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public AdjustOrderVo setOrderNo(String orderNo) {
		this.orderNo = orderNo;
		return this;
	}

	public String getGoodsNo() {
		return goodsNo;
	}

	public AdjustOrderVo setGoodsNo(String goodsNo) {
		this.goodsNo = goodsNo;
		return this;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public AdjustOrderVo setGoodsName(String goodsName) {
		this.goodsName = goodsName;
		return this;
	}

	public String getSkuNo() {
		return skuNo;
	}

	public AdjustOrderVo setSkuNo(String skuNo) {
		this.skuNo = skuNo;
		return this;
	}

	public String getSkuName() {
		return skuName;
	}

	public AdjustOrderVo setSkuName(String skuName) {
		this.skuName = skuName;
		return this;
	}

	public int getNum() {
		return num;
	}

	public AdjustOrderVo setNum(int num) {
		this.num = num;
		return this;
	}

	public String getUser() {
		return user;
	}

	public AdjustOrderVo setUser(String user) {
		this.user = user;
		return this;
	}

	public Date getDate() {
		return date;
	}

	public AdjustOrderVo setDate(Date date) {
		this.date = date;
		return this;
	}
}
